package com.dayu.recovery.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dayu.common.annotation.Excel;
import com.dayu.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 出入库日志对象 recovery_warehouse_logs
 * 
 * @author HK
 * @date 2023-12-17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WarehouseLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 数量 */
    @Excel(name = "数量")
    private Integer number;

    /** 出仓库id */
    @Excel(name = "出仓库id")
    private Long outStockId;

    /** 出仓信息（名称+类型） */
    @Excel(name = "出仓信息", readConverterExp = "名=称+类型")
    private String outStockInfo;

    /** 入仓库id */
    @Excel(name = "入仓库id")
    private Long inStockId;

    /** 入仓信息（名称+类型） */
    @Excel(name = "入仓信息", readConverterExp = "名=称+类型")
    private String inStockInfo;

    /** 状态（1=待确定，2=已确定， 3=取消） */
    @Excel(name = "状态", readConverterExp = "1=待确定，2=已确定, 3=取消")
    private Integer status;

    /** 移交产品id*/
    private List<TransferGoods> goodsList;

    private String goodsId;

    private Long userId;
}
